import {createWebHistory, createRouter} from "vue-router";

const routes = [
    {
        redirect: "/home",
    },
    {
        path: "/home",
        name: "home",
        component: () => import("@/views/Home.vue"),
    },
    {
        path: "/myMemory",
        name: "myMemory",
        component: () => import("@/views/Home.vue"),
    },
    {
        path: "/findMemory",
        name: "findMemory",
        component: () => import("@/views/Home.vue"),
    },
    {
        path: "/memoryInTune",
        name: "memoryInTune",
        component: () => import("@/views/Home.vue"),
    },
    {
        path: "/nostalgic",
        name: "nostalgic",
        component: () => import("@/views/Home.vue"),
    },
];

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;
